import http from "../request/http.js"

const loginApi = {
	getMsgCode(param) {
		return http.get('/user/getMsgCode', param)
	},
	register(param) {
		return http.post('/user/register', param)
	},
	accountLogin(param) {
		return http.post('/user/accountLogin',param)
	},
	phoneNumLogin(param) {
		return http.post('/user/phoneNumLogin',param)
	},
}

export default loginApi;